import { http } from '@/utils/http'

//微信支付功能（真）
export const payWeixinReal = (data : { orderId : string }) => {
  return http<WechatMiniprogram.RequestPaymentOption>({
    url: "/pay/wxPay/miniPay",
    method: "GET",
    data
  })
}


// 微信支付功能(假)
export const payWeixinFake = (data : { orderId : string }) => {
  return http({
    url: "/pay/mock",
    method: "GET",
    data
  })
}
